package com.itheima.reggie.service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    void saveWithDish(SetmealDto setmealDto);
    void removeWithDish(List<Long> ids);
    Page<SetmealDto> pageByName(int page, int pageSize, String name);
    SetmealDto getByIdWithDish(long id);
    void updateWithDish(SetmealDto setmealDto);

}